package com.atguigu.gulimall.member.fegin;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 调用coupon远程服务的接口
 *
 * 服务名
 */

@FeignClient("gulimall-coupon")
public interface CouponFeignServer {
    /**
     * 远程调用的完整请求路径和方法
     * @return
     */
    @RequestMapping("coupon/coupon/memberCoupon/list")
    public R memberCoupon();
}
